package Test;

import annotation.Autowired;
import annotation.Bean;

@Bean
public class A {
    public String name;
    @Autowired
    public B b;
    public A(){
        System.out.println("生成A");
        this.name = "hello B";
    }
    public void test(){
        System.out.println("Aaaa");
    }
}
